const fs = require('fs');

function mkDir(err) {
    if (err && err.code !== 'EEXIST') {
        console.error(err.message);
    }
}
function createDirectory() {
    fs.mkdir('./logging', mkDir);
    fs.mkdir('./export', mkDir);
    fs.mkdir('./upload', mkDir);

}
module.exports = createDirectory